#include "SceneItem.h"
#include "Wall.h"
#include "Gangster.h"
#include "Mob.h"
#include "Bullet.h"
#include "Field.h"

#include <QtGui>

QRectF SceneItem::boundingRect() const{
    qreal penWidth = 1;
    return QRectF( -RECTWIDTH + penWidth, -RECTHEIGHT + penWidth,
                   RECTWIDTH + penWidth, RECTHEIGHT + penWidth);
}

void SceneItem::paint(QPainter *painter, const QStyleOptionGraphicsItem*,
                       QWidget*){
    switch( o->getSymbol() ){
        case Wall::WALLCHAR :
            break;
        case Gangster::GANGSTERCHAR :
            break;
        case Bullet::BULLETCHAR :
        default: break;
    }
}
